// This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT

#include "../PVRTMemoryFileSystem.h"

// using 32 bit to guarantee alignment.
#ifndef A32BIT
 #define A32BIT static const unsigned int
#endif

// ******** Start: FragShader.fsh ********

// File data
static const char _FragShader_fsh[] = 
	"uniform sampler2D  sBaseTex;\r\n"
	"uniform sampler2D  sNormalMap;\r\n"
	"\t\t\r\n"
	"varying lowp    vec3  LightVec;\r\n"
	"varying mediump vec2  TexCoord;\r\n"
	"\r\n"
	"void main()\r\n"
	"{\r\n"
	"\t// read the per-pixel normal from the normal map and expand to [-1, 1]\r\n"
	"\tlowp vec3 normal = texture2D(sNormalMap, TexCoord).rgb * 2.0 - 1.0;\r\n"
	"\t\r\n"
	"\t// linear interpolations of normals may cause shortened normals and thus\r\n"
	"\t// visible artifacts on low-poly models.\r\n"
	"\t// We omit the normalization here for performance reasons\r\n"
	"\t\r\n"
	"\t// calculate diffuse lighting as the cosine of the angle between light\r\n"
	"\t// direction and surface normal (both in surface local/tangent space)\r\n"
	"\t// We don't have to clamp to 0 here because the framebuffer write will be clamped\r\n"
	"\tlowp float lightIntensity = dot(LightVec, normal);\r\n"
	"\r\n"
	"\t// read base texture and modulate with light intensity\r\n"
	"\tlowp vec3 texColor = texture2D(sBaseTex, TexCoord).rgb;\t\r\n"
	"\tgl_FragColor = vec4(texColor * lightIntensity, 1.0);\r\n"
	"}\r\n";

// Register FragShader.fsh in memory file system at application startup time
static CPVRTMemoryFileSystem RegisterFile_FragShader_fsh("FragShader.fsh", _FragShader_fsh, 935);

// ******** End: FragShader.fsh ********

// This file was created by Filewrap 1.1
// Little endian mode
// DO NOT EDIT

#include "../PVRTMemoryFileSystem.h"

// using 32 bit to guarantee alignment.
#ifndef A32BIT
 #define A32BIT static const unsigned int
#endif

// ******** Start: FragShader.fsc ********

// File data
A32BIT _FragShader_fsc[] = {
0x10fab438,0x20489b87,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x66040000,0x1000000,0x4000000,0x0,0x18000000,0x203,0x0,0x2010000,0x0,0x0,0xbe010000,0x55535020,0x20,0x1b2,0x1,0x0,0x0,0x224,0x0,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x770009,0xffff,0x3,0x0,0x30000,0x1,0x0,0x0,0x0,0x0,0x3fffc,0x40000,0x1,0x0,0xffff0003,0xffffffff,0x10001,0x800000,0x4,0x30001,0x10003,0x0,0x2,0x10000,0x10000,0x2,0x10000,0x30003,0x0,0x4890000,0x1ffea120,
0xffff4080,0xffffffff,0xffff,0x0,0x40000,0x30000,0x5,0x20001,0x80018001,0x80018001,0x0,0x0,0x0,0x70007,0x3060a,0x30003,0x10000,0x10001,0x40000,0x40004,0x0,0x20001,0x10000,0x0,0x20000,0x20002,0x20000,0x80010002,0x80018001,0x8001,0x0,0x0,0x64b80000,0x9306d820,0x20418891,0x603a840,0x5c088,0x10000,0x80010002,0x80018001,0x8001,0x0,0x10000,0x70001,0x60a0007,0x30003,0x3,0x20002,0x2,0x40004,0x4,0x10000,0x2,0x1,0x40004,0x20002,0x2,0x20001,0x80018001,0x80018001,0x0,0x0,0x9c020011,0x1802601f,
0x689a2,0x0,0x5020ea01,0x205553,0x1de0000,0x10000,0x0,0x0,0x2a40000,0x0,0x20000,0x7d0000,0x0,0x80000,0x0,0xffff0000,0xffff,0x90000,0xffff0077,0x30000,0x1,0x0,0x10003,0x0,0x0,0x0,0x0,0xfffc0000,0x1,0x10004,0x0,0x30000,0xffffffff,0x1ffff,0x1,0x40080,0x10000,0x30003,0x1,0x20000,0x0,0x1,0x20001,0x0,0x30001,0x3,0x0,0xa1200489,0x40801ffe,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x10000,0x80010002,0x80018001,0x8001,0x0,0x0,0xa0000000,0x28831000,0x5,
0x20001,0x80018001,0x80018001,0x0,0x0,0x0,0x70007,0x1060a,0x10001,0x0,0x0,0x40000,0x40004,0x0,0x20001,0x10000,0x1,0x20000,0x20002,0x30000,0x80010002,0x80018001,0x8001,0x0,0x0,0x10000,0xd80024b8,0x88919300,0x88402040,0xc0880603,0xa0000000,0x28831000,0x5,0x20001,0x80018001,0x80018001,0x0,0x0,0x10001,0x70007,0x1060a,0x10001,0x0,0x0,0x40000,0x40004,0x0,0x20001,0x10000,0x40001,0x20004,0x20002,0x10000,0x80010002,0x80018001,0x8001,0x0,0x10000,0x401f9c00,0x89a21800,0x6,0x800,0x0,0x0,
0x400000,0x0,0x0,0x0,0x803f0000,0x4000000,0x726f4e73,0x4d6c616d,0x7061,0x1031800,0x10000,0x200,0x10001,0x78655400,0x726f6f43,0x64,0x20603,0x100,0x2040001,0x300,0x6867694c,0x63655674,0x4000000,0x106,0x1000001,0x30000,0x73000007,0x65736142,0x786554,0x3180000,0x1000001,0x20000,0x1000101,0x0,
};

// Register FragShader.fsc in memory file system at application startup time
static CPVRTMemoryFileSystem RegisterFile_FragShader_fsc("FragShader.fsc", _FragShader_fsc, 1158);

// ******** End: FragShader.fsc ********

